package com.ruoyi.employee.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.dto.TbEmployeeDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.pojo.TbEmployee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author c'c'l
* @description 针对表【tb_employee(员工信息表)】的数据库操作Mapper
* @createDate 2024-08-29 10:02:09
* @Entity com.ruoyi.pojo.TbEmployee
*/
@Mapper
public interface TbEmployeeMapper extends BaseMapper<TbEmployee> {

    IPage<TbEmployeeDto> pageEmployee(@Param("page") Page<TbEmployeeDto> page,@Param("tbe") TbEmployeeDto tbEmployeeDto);

    void updateIsDeletedByEmployeeId(Long employeeId);

}




